﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BindUrl.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Control.FileControl.BindUrl" %>


<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
onsubmit="return dialogSearch(this);" action="/SystemManage/Control/FileControl/Upload/BindUrl.aspx">   

<div class="pageContent">
<div class="pageFormContent" layoutH="56" id="appendfileurl">
	<div class="unit" style="display:none" >
		<label>是否上传文件：</label>
        <span id="havefile"><%= _haveFile%></span>
	</div>
	<div class="unit" <%= _haveFile == "1" ? "style='display:none'" : "" %>>
		<label>文件地址：</label>
        <asp:TextBox ID="txtName" runat="server" class="required" width="400px"></asp:TextBox>
	</div>
	<div class="unit" <%= _haveFile == "1" ? "style='display:none'" : "" %>>
		<label>&nbsp;</label>
        <div class="buttonActive"><div class="buttonContent"><button type="submit">增加文件</button></div></div>
	</div>
	<div class="unit" <%= _haveFile == "0" ? "style='display:none'" : "" %>>
		<label>文件名：</label>
        <span id="filename"><%= _name %></span>
	</div>
	<div class="unit" <%= _haveFile == "0" ? "style='display:none'" : "" %>>
		<label>文件编号：</label>
        <span id="fileid"><%= _id %></span>
	</div>
	<div class="unit" <%= _haveFile == "0" ? "style='display:none'" : "" %>>
		<label>文件大小：</label>
        <span id="filesize"><%= _size %></span>
	</div>
	<div class="unit" <%= _haveFile == "0" ? "style='display:none'" : "" %>>
		<label>文件路径：</label>
        <span id="filepath"><%= _path %></span>
	</div>
</div>		
<div class="formBar">
	<ul>
	    <li><div class="buttonActive"><div class="buttonContent"><button onclick="ZLAN_FileControl.getAppendUrl();" class="close">确定</button></div></div></li>
		<li>
			<div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
		</li>
	</ul>
</div>
</div>
</form>